/**
 * Copyright (c)  TMA Mobile Solutions, TMA Solutions company. All Rights Reserved.
 * This software is the confidential and proprietary information of TMA Solutions, 
 * ("Confidential Information").
 * You shall not disclose such Confidential Information and shall use it only in accordance 
 * with the terms of the license agreement you entered into with TMA Solutions.
 *
 *
 * TMA SOLUTIONS MAKES NO REPRESENTATIONS OR WARRANTIES ABOUT THE SUITABILITY OF THE SOFTWARE, 
 * EITHER EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE IMPLIED WARRANTIES OF MERCHANTABILITY, 
 * FITNESS FOR A PARTICULAR PURPOSE, OR NON-INFRINGEMENT. TMA SOLUTIONS SHALL NOT BE LIABLE FOR ANY DAMAGES 
 * SUFFERED BY LICENSEE AS A RESULT OF USING, MODIFYING OR DISTRIBUTING THIS SOFTWARE OR ITS DERIVATIVES
 */
package com.example.pregnant.activity;

import com.example.pregnant.R;
import com.example.pregnant.Settings;

import android.app.Activity;
import android.os.Bundle;
import android.webkit.WebView;
import android.widget.TextView;


/** 
 * Class description: TODO
 * 
 * @created           May 18, 2011
 * @version 		  v2.0
 * @author 			  TMS
 * @copyright         TMA Solutions, www.tmasolutions.com
 */
public class BabyScreen extends Activity{
	TextView detailText, titleBar;
	@Override
	protected void onCreate(Bundle savedInstanceState) {
		super.onCreate(savedInstanceState);
		setContentView(R.layout.detailscreen);
		
		titleBar = (TextView) findViewById(R.id.TitleBarText);
		titleBar.setText(getString(R.string.btBabyText));
		
		detailText = (TextView) findViewById(R.id.detailText);
		String[] forBaby = getResources().getStringArray(R.array.forBabyText);
		detailText.setText(forBaby[Settings.getWeekAge()-1]);

	}
}
